      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
        <tr><td>
          <table align="center" cellpadding="0" cellspacing="0" border="0">
            <tr>
              <td bgcolor="#A8D98F"><img src="/images/white_corner_01_8x8.gif" border="0"/></td>
              <td bgcolor="#A8D98F" width="536"></td>
              <td bgcolor="#A8D98F"><img src="/images/white_corner_02_8x8.gif" border="0"/></td>
            </tr>
            <tr>
              <td colspan="3" align="center" bgcolor="#A8D98F">彩艺会员注册</td>
            </tr>
            <tr>
              <td colspan="3" height="8" bgcolor="#A8D98F"></td>
            </tr>
          </table>
        </td></tr>

        <tr><td>
          <%= form_tag(url_for(:controller => 'user', :action => 'register_action'), 
                        :method => 'post', :style => 'margin:0') %>
          <table align="center" cellpadding="2" cellspacing="0" class="greenbox" border="0">
            <colgroup>
              <col width="5%"/>
              <col width="13%"/>
              <col width="42%"/>
              <col width="40%"/>
            </colgroup>            
            <tr><td colspan="4" height="10"></td></tr>
            <tr><td colspan="4" class="promo">现在注册会员，免费打印30张照片。</td></tr>
            <tr><td colspan="4" height="8"></td></tr>
            <tr>
              <td></td>
              <td>姓</td>
              <td><%= text_field('user', 'surname', :size => '4', :maxlength => '10', :class => 'input') %><span class="required">*</span>&nbsp;&nbsp;&nbsp;名&nbsp;<%= text_field("user", "firstname", :size => "4", :maxlength => "20", :class => "input") %><span class="required">*</span></td>
              <td>您的真实姓名。用于订单的确认。</td>
            </tr>
            <tr><td colspan="4" height="2"></td></tr>
            <tr>
              <td></td>
              <td>性别</td>
              <td><input id="user_gender_M" type="radio" name="user[gender]" value="M" checked/><label for="user_gender_M">男</label>&nbsp;&nbsp;<input id="user_gender_F" type="radio" name="user[gender]" value="F"/><label for="user_gender_F">女</label></td>
              <td></td>
            </tr>
            <tr><td colspan="4" height="2"></td></tr>
            <tr>
              <td></td>
              <td>Email地址</td>
              <td><%= text_field("user", "email", :size => "32", :maxlength => "50", :class => "input") %><span class="required">*</span></td>
              <td>Email地址将作为您以后的登录帐号。</td>
            </tr>
            <tr><td colspan="4" height="2"></td></tr>
            <tr>
              <td></td>
              <td>密码</td>
              <td><%= password_field("user", "password", :size => "20", :maxlength => "50", :class => "input") %><span class="required">*</span></td>
              <td>请使用一个6-30安全字符串。</td>
            </tr>
            <tr><td colspan="4" height="2"></td></tr>
            <tr>
              <td></td>
              <td>确认密码</td>
              <td><input type="password" name="confirmpass" class="input" size="20" maxlength="50"/><span class="required">*</span></td>
              <td></td>
            </tr>
            <tr>
              <td></td>
              <td>所在城市</td>
              <td><%= text_field("user", "city", :size => "12", :maxlength => "30", :class => "input") %></td>
              <td></td>
            </tr>
            <tr>
              <td></td>
              <td>联系地址</td>
              <td><%= text_field("user", "address", :size => "32", :maxlength => "50", :class => "input") %></td>
              <td></td>
            </tr>
            <tr>
              <td></td>
              <td>邮政编码</td>
              <td><%= text_field("user", "zipcode", :size => "8", :maxlength => "8", :class => "input") %></td>
              <td></td>
            </tr>
            <tr>
              <td></td>
              <td>联系电话</td>
              <td><%= text_field("user", "phone", :size => "16", :maxlength => "16", :class => "input") %></td>
              <td></td>
            </tr>
            <tr><td colspan="4" height="4"></td></tr>
            <tr>
              <td></td>
              <td colspan="3">
                <input id="agreement" type="checkbox" name="accept" checked/><label for="agreement">同意</label>[<a href="">用户协议</a>]
              </td>

            </tr>
            <tr><td colspan="4" height="8"></td></tr>
            <tr><td colspan="4" align="center"><img src="/images/green_line_1x1.gif" border="0" width="400" height="1"/></td></tr>
            <tr><td colspan="4" height="4"></td></tr>
            <tr>
              <td colspan="4" align="center">
            <input type="submit" class="button" name="submit" value="提&nbsp;交"/>&nbsp;&nbsp;&nbsp;
            <input type="reset" class="button" name="reset" value="取&nbsp;消"/>
              </td>

            </tr>
            <tr><td colspan="4" height="4"></td></tr>
          </table>
          <%= end_form_tag %>
        </td></tr>

        <tr><td>
          <table width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>

              <td><img src="/images/green_corner_03_8x8.gif" border="0"/></td>
              <td width="536" background="/images/green_corner_line_1x8.gif"></td>
              <td><img src="/images/green_corner_04_8x8.gif" border="0"/></td>
            </tr>
          </table>
        </td></tr>
      </table>